<?php

namespace Design\Structural\Flyweight;

class Character implements Text
{

    private $name;


    public function __construct($name)
    {
        $this->name = $name;

    }//end __construct()


    public function render(string $font): string
    {
        return sprintf('Character %s with font %s', $this->name, $font);

    }//end render()


}//end class
